Returns the month from a date/time value as an integer.
Syntax
Month("DateTime")
Arguments
| Argument | Description |
|---|---|
| DateTime | Any date/time expression. See Date/time format examples for valid formats. |
Return value
| Value | Description |
|---|---|
| Value | Integer that corresponds with the month from the date/time value. 1 is January, 2 is February, etc. |
Example
monthValue = Month("1 May 2016 2:57:32.8 PM")